﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>星途车联网大数据服务平台</title>
    <link href="css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/data_text.css">
    <link rel="stylesheet" href="css/foundation-datepicker.css">

    <!--[if lt IE 9]>
    <script src="js/html5shiv.min.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>
<body>

    <!--header开始-->
    <div class="header">
        <div class="header_logo fl">
            <a href="#"><img src="images/header_logo.png" alt=""></a>
<!--            <p1>星途车联网大数据服务平台</p1>-->
        </div>
        <div class="header_nav fl">
            <ul>
                <li>
                    <img src="images/nav_1.png" alt="">
                    <a href="index.html" class="nav_current">车辆监控</a>
                </li>
                <li>
                    <img src="images/nav_2.png" alt="">
                    <a href="#">电子围栏</a>
                </li>
                <li>
                    <img src="images/nav_3.png" alt="">
                    <a href="#">政府监管</a>
                </li>
                <li>
                    <img src="images/nav_4.png" alt="">
                    <a href="#">自定义告警</a>
                </li>
                <li>
                    <img src="images/nav_5.png" alt="">
                    <a href="#">车载视频</a>
                </li>
                <li>
                    <img src="images/nav_6.png" alt="">
                    <a href="real-time-monitoring.html">远程诊断故障实时监控</a>
                </li>
                <li>
                    <img src="images/nav_7.png" alt="">
                    <a href="bi.html">统计报表</a>
                </li>
                <li>
                    <img src="images/nav_9.png" alt="">
                    <a href="#">系统设置</a>
                    <ul>
                        <li>
                            <a href="#">平台管理</a>
                            <ul>
                                <li><a href="#">企业用户系统管理</a></li>
                                <li><a href="#">车主系统管理</a></li>
                                <li><a href="#">政府监控系统管理</a></li>
                                <li><a href="#">后台业务系统管理</a></li>
                                <li><a href="#">公安车辆信息系统管理</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="#">设备管理</a>
                            <ul>
                                <li><a href="#">TSP数据服务设备</a></li>
                                <li><a href="#">Tbox数据终端设备</a></li>
                                <li><a href="#">Can信号处理设备</a></li>
                            </ul>
                        </li>
                        <li><a href="#">系统设置</a></li>
                    </ul>
                </li>
            </ul>
        </div>
        <div class="header_myself fr">
            <p>用户：管理员</p>
            <a href="#" data-toggle="modal" data-target=".bs-example-modal-sm">注销 &nbsp;<span class="caret"></span></a>
        </div>
    </div>
    <!--header结束-->
    <!--content开始-->
    <div class="data_content">
        <div class="data_time">
            <img src="images/data_time.png" alt="" class="fl">
            <input type="text" value="" id="demo-1" style="background: #04425f;width: 80px;" placeholder="选择日期">
        </div>
        <div class="data_info">
            <div class="info_1 fl">
                <div class="text_1">
                    <div class="fl">
                        <img src="images/info_1.png" alt="" class="fl">
                        <div class="fl" id="totalNum">
                        </div>
                    </div>
                    <div class="fl">
                        <img src="images/info_2.png" alt="" class="fl">
                        <div class="fl" id="onlineNum">
                        </div>
                    </div>
                    <div class="fl">
                        <img src="images/info_3.png" alt="" class="fl">
                        <div class="fl" id="drivingNum">
                        </div>
                    </div>
                </div>

            </div>
            <div class="info_2 fl">
                <div class="text_2">
                    <div class="fl">
                        <img src="images/info_4.png" alt="" class="fl">
                        <div class="fl">
                            <p>行驶总里程(km)</p>
                            <p>78689802</p>
                        </div>
                    </div>
                    <div class="fl">
                        <img src="images/info_5.png" alt="" class="fl">
                        <div class="fl">
                            <p>行驶平均里程(km)</p>
                            <p>358</p>
                        </div>
                    </div>
                </div>

            </div>
            <div class="info_3 fr">
                <div class="text_3">
                    <div class="fl">
                        <img src="images/info_6.png" alt="" class="fl">
                        <div class="fl">
                            <p>行驶时长总数(h)</p>
                            <p>15802</p>
                        </div>
                    </div>
                    <div class="fl">
                        <img src="images/info_7.png" alt="" class="fl">
                        <div class="fl">
                            <p>行驶平均时长(h)</p>
                            <p>1.5</p>
                        </div>
                    </div>
                </div>

            </div>
        </div>

        <div class="data_main">
            <div class="main_left fl">
                <div class="left_1">
                    <div class="main_title">
                        <img src="images/title_1.png" alt="">
                        车型统计
                    </div>
                    <div id="chart_1" class="chart" style="width:100%;height: 320px;"></div>
                </div>
                <div class="left_2">
                    <div class="main_title">
                        <img src="images/title_2.png" alt="">
                        车辆状态分布
                    </div>
                    <div id="chart_2" class="chart" style="width:100%;height: 280px;"></div>
                </div>
            </div>
            <div class="main_center fl">
                <div class="center_text">
                    <div class="main_title">
                        <img src="images/title_3.png" alt="">
                        车辆分布
                    </div>
                    <div id="chart_map" style="width:100%;height:610px;"></div>
                </div>
            </div>
            <div class="main_right fr">
                <div class="right_1">
                    <div class="main_title">
                        <img src="images/title_4.png" alt="">
                        车辆行驶分类
                    </div>
                    <div class="choice">
                        <label for="">类型：</label>
                        <select name="" id="">
                            <option value="">私家车</option>
                            <option value="">网约车</option>
                            <option value="">出租车</option>
                            <option value="">公交车</option>
                            <option value="">其他</option>
                        </select>
                    </div>
                    <div id="chart_3" class="echart" style="width:100%;height: 280px;"></div>
                </div>
                <div class="right_2">
                    <div class="main_title">
                        <img src="images/title_5.png" alt="">
                        车辆报警统计
                    </div>
                    <div id="chart_4" class="echart fl" style="width:80%;height: 230px;"></div>
                    <div class="fr chart_text">
                        <p>同比</p>
                        <p><img src="images/down.png" alt="">2%</p>
                        <p><img src="images/up.png" alt="">4%</p>
                        <p><img src="images/down.png" alt="">5%</p>
                        <p><img src="images/down.png" alt="">3%</p>
                    </div>
                    <div style="width: 80%;" class="text_sum">
                        <div class="fl" style="width:30%">7896</div>
                        <div class="fl" style="width:40%">统计</div>
                        <div class="fr" style="width:30%">6781</div>

                    </div>
                </div>
            </div>
        </div>
        <div class="data_bottom">
            <div class="bottom_1 fl">
                <div class="main_title">
                    <img src="images/title_6.png" alt="">
                    电子围栏Ahead5
                </div>
                <div class="main_table">
                    <table>
                        <thead>
                            <tr>
                                <th>车架号</th>
                                <th>电子围栏名称</th>
                                <th>电子围栏地址</th>
                                <th>电子围栏半径</th>
                            </tr>
                        </thead>
                        <tbody id="eletricFenceAhead5">
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="bottom_center fl">
                <div class="bottom_2 fl">
                    <div class="main_title">
                        <img src="images/title_6.png" alt="">
                        驾驶时长TopN
                    </div>
                    <div class="main_table">
                        <table>
                            <thead>
                                <tr>
                                    <th>排名</th>
                                    <th>车架号</th>
                                    <th>时长(h)</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>1</td>
                                    <td>LS4ASE2E8JJ188199</td>
                                    <td>587.5</td>
                                </tr>
                                <tr>
                                    <td>2</td>
                                    <td>LS4ASE2E8JJ227907</td>
                                    <td>517.2</td>
                                </tr>
                                <tr>
                                    <td>3</td>
                                    <td>LS4ASE2E9JJ227916</td>
                                    <td>495.3</td>
                                </tr>
                                <tr>
                                    <td>4</td>
                                    <td>LS5A2AJX0FJ100700</td>
                                    <td>393.3</td>
                                </tr>
                                <tr>
                                    <td>5</td>
                                    <td>LS5A2AJX0FJ100762</td>
                                    <td>358.6</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="bottom_3 fl">
                    <div class="main_title">
                        <img src="images/title_6.png" alt="">
                        车辆报警次数TopN
                    </div>
                    <div class="main_table">
                        <table>
                            <thead>
                                <tr>
                                    <th>排名</th>
                                    <th>车架号</th>
                                    <th>报警次数</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>1</td>
                                    <td>LS5A2AJX0GA000291</td>
                                    <td>1678</td>
                                </tr>
                                <tr>
                                    <td>2</td>
                                    <td>LS5A2AJX0GA003305</td>
                                    <td>1626</td>
                                </tr>
                                <tr>
                                    <td>3</td>
                                    <td>LS5A2AJX0GA003675</td>
                                    <td>1525</td>
                                </tr>
                                <tr>
                                    <td>4</td>
                                    <td>LS5A2AJX0GA003904</td>
                                    <td>1365</td>
                                </tr>
                                <tr>
                                    <td>5</td>
                                    <td>LS5A2AJX0GA004101</td>
                                    <td>1253</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="bottom_4 fl">
                <div class="main_title">
                    <img src="images/title_6.png" alt="">
                    充电时长TopN
                </div>
                <div class="main_table">
                    <table>
                        <thead>
                            <tr>
                                <th>排名</th>
                                <th>车架号</th>
                                <th>总时长(h)</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>1</td>
                                <td>LS5A2AJX0HA001216</td>
                                <td>8134.5</td>
                            </tr>
                            <tr>
                                <td>2</td>
                                <td>LS5A2AJX0JA000394</td>
                                <td>7864.1</td>
                            </tr>
                            <tr>
                                <td>3</td>
                                <td>LS5A2AJX0JA000606</td>
                                <td>6572.6</td>
                            </tr>
                            <tr>
                                <td>4</td>
                                <td>LS5A2AJX0JA000945</td>
                                <td>6161.3</td>
                            </tr>
                            <tr>
                                <td>5</td>
                                <td>LS5A2AJX0JA003330</td>
                                <td>5217.9</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>


    </div>
    <!--content结束-->
    <!--注销模态框  开始-->
    <div class="modal fade bs-example-modal-sm" id="myModal" tabindex="-1" role="dialog">
        <div class="modal-dialog modal-sm" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">注销</h4>
                </div>
                <div class="modal-body">
                    <p>确认退出该系统吗？</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" data-dismiss="modal">确认</button>
                </div>
            </div>
        </div>
    </div>
    <!--注销模态框  结束-->
    

</body>
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/common.js"></script>
<script src="js/echarts.min.js"></script>
<script src="js/page_datas.js"></script>
<script src="js/china.js"></script>
<script src="js/foundation-datepicker.js"></script>
<script src="js/foundation-datepicker.zh-CN.js"></script>
<script>
    $('#demo-1').fdatepicker();

    var nowTemp = new Date();
    var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0);
    var checkin = $('#dpd1').fdatepicker({
        onRender: function (date) {
            return date.valueOf() < now.valueOf() ? 'disabled' : '';
        }
    }).on('changeDate', function (ev) {
        if (ev.date.valueOf() > checkout.date.valueOf()) {
            var newDate = new Date(ev.date)
            newDate.setDate(newDate.getDate() + 1);
            checkout.update(newDate);
        }
        checkin.hide();
        $('#dpd2')[0].focus();
    }).data('datepicker');
    var checkout = $('#dpd2').fdatepicker({
        onRender: function (date) {
            return date.valueOf() <= checkin.date.valueOf() ? 'disabled' : '';
        }
    }).on('changeDate', function (ev) {
        checkout.hide();
    }).data('datepicker');
</script>
</html>